<?php
/*
 * 
 * 
 * 
 * 
 * 
 * 

v6  http://aui.github.io/artDialog/






















*****************************************************************************************

4.1.7

 1. artDialog 作为弹出框功能强大
 
	建议在前端使用，比如弹出登录框，注册框
	
	不建议在后台管理端使用
	
	<script src="/js/artDialog/artDialog.source.js?skin=default"></script>

	art.dialog({
		title: '',
		lock: true,
		content: '您还未登录，请先登录并绑定手机才能购买。现在需要立即去登录么？',
		button: [
			{
				name: '立即登录',
				callback: function(){
					location.href = "http://member.che1an.com/member/login";
				} 
			},
			{
				name: '立即注册',
				callback: function(){
					window.open("http://member.che1an.com/member/register");
				} 
			},
			{name: '取消'}
		]
	});

	
备注：
	
	1. 去掉双击事件   
	
			双击后关闭弹出窗口
			
			1406行
	
			}).bind('dblclick', function () {
			
			//-start Flan 20131011 注释掉 去掉双击事件
			// 
			// that._click(that.config.cancelVal);
			// 
			//-end
		});

    2. 遮罩
    		// 进度条
			var g_oLoadingDialog = '';
			function g_showLoading (){
				
				var style = '<style>';
				style += 'div.aui_title{background:none;}';
				style += '.aui_state_lock .aui_border .aui_nw, .aui_state_lock .aui_border .aui_n, .aui_state_lock .aui_border .aui_ne, .aui_state_lock .aui_border .aui_w, .aui_state_lock .aui_border .aui_e, .aui_state_lock .aui_border .aui_sw, .aui_state_lock .aui_border .aui_s, .aui_state_lock .aui_border .aui_se {background: none repeat scroll 0 0 #DDDDDD;}';
				style += '.aui_state_lock .aui_outer .aui_border {box-shadow: 0 3px 26px #DDDDDD;}';
				style += '.aui_state_lock .aui_outer, .aui_state_lock .aui_inner {border: 1px solid #DDDDDD;}';
				style += 'div.aui_state_focus div.aui_outer {box-shadow: 0 2px 3px #DDDDDD;}';
				style += '</style>';
				
				g_oLoadingDialog = art.dialog({
					title:'数据处理中......',
					lock: true,
					background: '#DDDDDD', // 背景色
					opacity: 0.87,	// 透明度
					content: '<img src="/static/images/loading.gif" />' + style,
					cancel: false,
					drag: false,
					resize: false,
					esc: false
				});
			}
			
			g_oLoadingDialog.close();